#ifndef IO_H
#define IO_H

#ifdef __cplusplus

extern "C"
{
#endif

unsigned char auxinb(int);
void auxoutb(int,unsigned char);
short int auxinw(int);
void auxoutw(int,short int);
int _readcr3();
int _readcr0();
void _writecr3(unsigned long *);
void _writecr0(int);

#ifdef __cplusplus
}
#endif



class io
{
private:
public:
	static unsigned char inportb(int);
	static void outportb(int,unsigned char);
	static short int inportw(int);
	static void outportw(int,short int);

};

#endif